package ${table.fileTemplates.controller.filePackage};

import ${table.fileTemplates.entity.filePackage}.${table.javaName};
import ${table.fileTemplates.service.filePackage}.${table.fileTemplates.service.fileName};
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@Api(tags = {"${table.comment}相关接口"})
@RestController
@RequestMapping("/${table.javaName?uncap_first}/")
public class ${table.javaName}Controller {

    @Autowired
    private ${table.fileTemplates.service.fileName} ${table.fileTemplates.service.fileName?uncap_first};
}
